package io.finer.erp.jeecg.bas.service;

import io.finer.erp.jeecg.bas.entity.ZrkOrderProcess;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 车间任务单工序机器分配
 * @Author: jeecg-boot
 * @Date:   2020-09-02
 * @Version: V1.0
 */
public interface IZrkOrderProcessService extends IService<ZrkOrderProcess> {

	public List<ZrkOrderProcess> selectByMainId(String mainId);

	/**
	 * @Description: 根据订单ID查询工序(用于PDA设备展示)
	 * @param orderId
	 * @return 工序
	 * @author duany
	 * 2020-10-19
	 */
	public List<ZrkOrderProcess> getProcessByOrderId(String orderId);
	
	/**
	 * @Description 查询工单下的一部分工序(用于PDA设备展示)
	 * @param orderId
	 * @param type
	 * @return
	 * Create at: 2020-10-23 08:38:51
	 * @author: duany
	 * Revision:
	 *    2020-10-23 08:38:51 - first revision by duany
	 *        
	 */
	public List<ZrkOrderProcess> getProcessByOrderAndProcess(String orderId, String type);
}
